HTMLify

style.css
Views: 35 | Author: cody
@import url('https://fonts.googleapis.com/css2?family=Lobster&family=Montserrat:wght@900&display=swap');

body {
  font-family: Montserrat, sans-serif;
  font-weight: 900;
}

body,
body * {
  cursor: none;
}

.cursor {
  position: fixed;
  background: #151515;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border-radius: 50%;
  will-change: transform;
  user-select: none;
  pointer-events: none;
  z-index: 10000;
}

::-moz-selection {
  color: #fff;
  background: #151515;
}

::selection {
  color: #fff;
  background: #151515;
}

.shapes {
  position: relative;
  height: 100vh;
  width: 100vw;
  background: #151515;
  overflow: hidden;
}

.shape {
  will-change: transform;
  position: absolute;
  border-radius: 50%;
}

.shape.shape-1 {
  background: #005ffe;
  width: 650px;
  height: 650px;
  margin: -325px 0 0 -325px;
}

.shape.shape-2 {
  background: #ffe5e3;
  width: 440px;
  height: 440px;
  margin: -220px 0 0 -220px;
}

.shape.shape-3 {
  background: #ffcc57;
  width: 270px;
  height: 270px;
  margin: -135px 0 0 -135px;
}

.content {
  top: 0;
  left: 0;
  position: absolute;
  display: grid;
  place-items: center;
  height: 100vh;
  width: 100vw;
  background: #fff;
  mix-blend-mode: screen;
}

h1 {
  font-size: 100px;
  color: #000;
  margin: 0;
  text-align: center;
}

@media (min-width: 419px) {
  h1 {
    font-size: 100px;
    font-size: calc((0.0989119683 * 100vw + (58.5558852621px)));
  }
}

@media (min-width: 1430px) {
  h1 {
    font-size: 200px;
  }
}

Comments